package com.mypro._01base.mapper;

import com.mypro._01base.entity.Teacher;

import java.util.List;

/**
 * @author user_xdd
 * @Date 2022-05-06 11:09
 * @description
 *   1.对象属性的查询，1对多， 多对一
 * @return
 */
public interface TeacherMapper {
    public List<Teacher> queryAll();
    public Teacher queryByPrimaryKey(Integer teaid);

    //依据stuid查询Teacher集合
    public List<Teacher> queryByStuid(Integer stuid);
}
